//
//  GQHRouteFreightsView.h
//  Xanthium
//
//  Created by GuanQinghao on 08/03/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GQHFreightModel.h"


@protocol GQHRouteFreightsViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现

/// 点击列表项
- (void)qh_selectedRowWithTableView:(UITableView *)tableView atIndexPath:(NSIndexPath *)indexPath;
/// 联系司机
- (void)qh_dialMobile:(UIButton *)sender;

@end


@interface GQHRouteFreightsView : UIView

/// 代理
@property (nonatomic, weak) id<GQHRouteFreightsViewDelegate> qh_delegate;

/// 货源列表
@property (nonatomic, strong) UITableView *qh_tableView;

/// 货源模型数组
@property (nonatomic, strong) NSMutableArray<GQHFreightModel *> *qh_freightModelArray;

@end
